FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationDispense.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispense.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
Version1.0.0
Statusactive
Date2026-04-03T08:10:50+00:00
NameEHDSMedicationDispense
TitleMedication dispense model
DescriptionLogical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
Kindlogical

Resources that use this resource

StructureDefinition
xtehr.eu.ehds.models#currentEHDSMedicationDispenseObligationsMedication dispense model obligations
xtehr.eu.ehds.models#currentEHDSMedicationUseMedication use model

Resources that this resource uses

StructureDefinition
xtehr.eu.ehds.models#currentEHDSDataSetDataSet model
xtehr.eu.ehds.models#currentEHDSDosageDosage model
xtehr.eu.ehds.models#currentEHDSHealthProfessionalHealth professional model
xtehr.eu.ehds.models#currentEHDSLocationLocation model
xtehr.eu.ehds.models#currentEHDSMedicationMedication model
xtehr.eu.ehds.models#currentEHDSPatientPatient model
xtehr.eu.ehds.models#currentEHDSRelatedPersonRelated person model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EHDSMedicationDispense

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationDispense 0..*EHDSDataSetMedication dispense model

Elements defined in Ancestors:header
... header
.... subject 1..1EHDSPatientThe person for whom the medication is prescribed. [Used for searching]
.... identifier 0..*IdentifierBusiness identifier(s) for the dispense record. [Used for searching]
.... author[x] 1..*EHDSHealthProfessional, EHDSOrganisation, EHDSDeviceThe actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
.... date 1..1dateTimeDate and time of issuing the dispense record. [Used for searching]
.... status 1..1CodeableConceptThe status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]
Binding Description: (preferred): HL7 MedicationDispense Status Codes
.... source 0..0Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
... dispenseLocation 0..1EHDSLocationLocation of dispense
... receiver[x] 0..1Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.
.... receiverEHDSPatientEHDSPatient
.... receiverEHDSHealthProfessionalEHDSHealthProfessional
.... receiverEHDSRelatedPersonEHDSRelatedPerson
... relatedRequest 0..*IdentifierIdentifier of the prescription item the dispense is related to. [Used for searching]
... medication 1..1EHDSMedicationExact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
... dispensedQuantity 1..1QuantityNumber of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.
Binding Description: (preferred): UCUM, EDQM Standard Terms
... timeOfDispensation 0..1dateTimeDate and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.
... substitutionOccurred 0..1booleanWhether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.
... dosageInstructions 0..1EHDSDosageDosage and administration instructions
... note 0..1stringAdditional information or comments

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationDispense",
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "version": "1.0.0",
  "name": "EHDSMedicationDispense",
  "title": "Medication dispense model",
  "status": "active",
  "date": "2026-04-03T08:10:50+00:00",
  "publisher": "Xt-EHR",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.xt-ehr.eu/"
        }
      ]
    }
  ],
  "description": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationDispense",
        "path": "EHDSMedicationDispense",
        "short": "Medication dispense model",
        "definition": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header",
        "path": "EHDSMedicationDispense.header",
        "short": "Basic metadata for this information",
        "definition": "Basic metadata for this information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.subject",
        "path": "EHDSMedicationDispense.header.subject",
        "short": "The person for whom the medication is prescribed. [Used for searching]",
        "definition": "The person for whom the medication is prescribed. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.identifier",
        "path": "EHDSMedicationDispense.header.identifier",
        "short": "Business identifier(s) for the dispense record. [Used for searching]",
        "definition": "Business identifier(s) for the dispense record. [Used for searching]",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.author[x]",
        "path": "EHDSMedicationDispense.header.author[x]",
        "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.date",
        "path": "EHDSMedicationDispense.header.date",
        "short": "Date and time of issuing the dispense record. [Used for searching]",
        "definition": "Date and time of issuing the dispense record. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.status",
        "path": "EHDSMedicationDispense.header.status",
        "short": "The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]",
        "definition": "The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "HL7 MedicationDispense Status Codes"
        }
      },
      {
        "id": "EHDSMedicationDispense.header.source",
        "path": "EHDSMedicationDispense.header.source",
        "short": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "definition": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.header.language",
        "path": "EHDSMedicationDispense.header.language",
        "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "EHDSMedicationDispense.dispenseLocation",
        "path": "EHDSMedicationDispense.dispenseLocation",
        "short": "Location of dispense",
        "definition": "Location of dispense",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispenseLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.receiver[x]",
        "path": "EHDSMedicationDispense.receiver[x]",
        "short": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
        "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.receiver[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.relatedRequest",
        "path": "EHDSMedicationDispense.relatedRequest",
        "short": "Identifier of the prescription item the dispense is related to.  [Used for searching]",
        "definition": "Identifier of the prescription item the dispense is related to.  [Used for searching]",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationDispense.relatedRequest",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.medication",
        "path": "EHDSMedicationDispense.medication",
        "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dispensedQuantity",
        "path": "EHDSMedicationDispense.dispensedQuantity",
        "short": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
        "definition": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispensedQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationDispense.timeOfDispensation",
        "path": "EHDSMedicationDispense.timeOfDispensation",
        "short": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
        "definition": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.timeOfDispensation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.substitutionOccurred",
        "path": "EHDSMedicationDispense.substitutionOccurred",
        "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.substitutionOccurred",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dosageInstructions",
        "path": "EHDSMedicationDispense.dosageInstructions",
        "short": "Dosage and administration instructions",
        "definition": "Dosage and administration instructions",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dosageInstructions",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.note",
        "path": "EHDSMedicationDispense.note",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationDispense",
        "path": "EHDSMedicationDispense",
        "short": "Medication dispense model",
        "definition": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information."
      },
      {
        "id": "EHDSMedicationDispense.header.subject",
        "path": "EHDSMedicationDispense.header.subject",
        "short": "The person for whom the medication is prescribed. [Used for searching]",
        "definition": "The person for whom the medication is prescribed. [Used for searching]"
      },
      {
        "id": "EHDSMedicationDispense.header.identifier",
        "path": "EHDSMedicationDispense.header.identifier",
        "short": "Business identifier(s) for the dispense record. [Used for searching]",
        "definition": "Business identifier(s) for the dispense record. [Used for searching]"
      },
      {
        "id": "EHDSMedicationDispense.header.author[x]",
        "path": "EHDSMedicationDispense.header.author[x]",
        "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
        "min": 1
      },
      {
        "id": "EHDSMedicationDispense.header.date",
        "path": "EHDSMedicationDispense.header.date",
        "short": "Date and time of issuing the dispense record. [Used for searching]",
        "definition": "Date and time of issuing the dispense record. [Used for searching]",
        "min": 1
      },
      {
        "id": "EHDSMedicationDispense.header.status",
        "path": "EHDSMedicationDispense.header.status",
        "short": "The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]",
        "definition": "The status of the dispense, e.g. completed, declined, entered-in-error. [Used for searching]",
        "binding": {
          "strength": "preferred",
          "description": "HL7 MedicationDispense Status Codes"
        }
      },
      {
        "id": "EHDSMedicationDispense.header.source",
        "path": "EHDSMedicationDispense.header.source",
        "max": "0"
      },
      {
        "id": "EHDSMedicationDispense.dispenseLocation",
        "path": "EHDSMedicationDispense.dispenseLocation",
        "short": "Location of dispense",
        "definition": "Location of dispense",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.receiver[x]",
        "path": "EHDSMedicationDispense.receiver[x]",
        "short": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
        "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.relatedRequest",
        "path": "EHDSMedicationDispense.relatedRequest",
        "short": "Identifier of the prescription item the dispense is related to.  [Used for searching]",
        "definition": "Identifier of the prescription item the dispense is related to.  [Used for searching]",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.medication",
        "path": "EHDSMedicationDispense.medication",
        "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dispensedQuantity",
        "path": "EHDSMedicationDispense.dispensedQuantity",
        "short": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
        "definition": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationDispense.timeOfDispensation",
        "path": "EHDSMedicationDispense.timeOfDispensation",
        "short": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
        "definition": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.substitutionOccurred",
        "path": "EHDSMedicationDispense.substitutionOccurred",
        "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.dosageInstructions",
        "path": "EHDSMedicationDispense.dosageInstructions",
        "short": "Dosage and administration instructions",
        "definition": "Dosage and administration instructions",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispense.note",
        "path": "EHDSMedicationDispense.note",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}